package cn.netbox.spring.ZLQservive.impl;

import cn.netbox.spring.ZLQservive.MyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service("zhongJieSeriveProxy")
public class ZhongJieSeriveProxy implements MyService {

    @Autowired
    @Qualifier("fangdongservice")
    FangDongservice fangDongservice;

    public void kanFang() {
        fangDongservice.kanFang();
        System.out.println("带人看房");
    }

    public void shouZu() {
        System.out.println("加价");
        fangDongservice.shouZu();
    }
}
